@vite('resources/js/app.js')
<script>
    window.onload = function(){
        Echo.channel('test').listen('.server.test.notice', (e) => {
            console.log(e.message);
        });
    }
</script>
